public class Java_array {
    public static void main(String[] args) {
        int[] array = {1,2,3,4,5};
        for (int y:array) {
            System.out.println(y);
        }

    }
}
